package com.njitzx.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class GoodsPageVO {
    @ApiModelProperty(value = "主键id")
    private Integer goodsId;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "商品价格")
    private BigDecimal goodsPrice;

    @ApiModelProperty(value = "商品数量")
    private Integer goodsNumber;

    @ApiModelProperty(value = "商品重量")
    private Integer goodsWeight;

    @ApiModelProperty(value = "类型id")
    private  String catName;


    @ApiModelProperty(value = "添加商品时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改商品时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "热卖数量")
    private Integer hotMumber;

    @ApiModelProperty(value = "是否促销，0表示非促销，1表示促销")
    private Integer isPromote;

    @ApiModelProperty(value = "商品状态 0: 未通过 1: 审核中 2: 已审核")
    private Integer goodsState;

}
